package com.junzhiit.nengji.app.web.vo;

import java.util.ArrayList;
import java.util.List;

import com.bainaeco.framework.base.BaseObject;

public class IndustryVO extends BaseObject{

	private static final long serialVersionUID = 1L;
	
	private String id;
	
	private String code;
	
	private String name;
	
	private String fullName;
	
	private String parentId;
	
	private Integer level;
	
	private Integer sort;
	
	private List<IndustryVO> children = new ArrayList<IndustryVO>();
	
	private Integer childCount = 0;
	
	public void addChild(IndustryVO industryVO){
		children.add(industryVO);
	}
	
	public List<IndustryVO> getChildren() {
		return children;
	}

	public void setChildren(List<IndustryVO> children) {
		this.children = children;
	}

	public Integer getChildCount() {
		return childCount;
	}

	public void setChildCount(Integer childCount) {
		this.childCount = childCount;
	}


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
